package face.pay.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Auther: zkj
 * @Date: 2019/7/5 12:22
 * @Description:
 */
@Mapper
public interface UserRoleInfoDao {

    @Insert("insert into user_role (user_id,role_id ) values(#{userId},#{roleId})")
    public void insert(@Param(value = "userId") Integer userId, @Param(value = "roleId") Integer roleId);
}
